window: Remove hack to set background
authorBenjamin Otte <otte@redhat.com>
Wed, 8 Sep 2010 14:08:46 +0000 (16:08 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 26 Sep 2010 13:11:39 +0000 (15:11 +0200)
I can't see this having any effect in current code, but who knows...

gtk/gtkwindow.c

index 8bf4bea3536cd85aadd8b22b990c4b22e5c5ffc3..56518cfcba280b927beeec1a66d4fe7830602cc0 100644 (file)
@@ -4774,9 +4774,6 @@ gtk_window_realize (GtkWidget *widget)
   if (priv->frame)
     gtk_style_set_background (style, priv->frame, GTK_STATE_NORMAL);
 
-  /* This is a bad hack to set the window background. */
-  gtk_window_paint (widget, NULL);
-  
   if (priv->transient_parent &&
       gtk_widget_get_realized (GTK_WIDGET (priv->transient_parent)))
     gdk_window_set_transient_for (gdk_window,